package com.ruoyi.homework.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 作业对象 tech_homework
 * 
 * @author admin
 * @date 2022-08-06
 */
public class TechHomework extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 作业id */
    private Long hwId;

    /** 作业类型 */
    @Excel(name = "作业类型")
    private Long hwType;

    /** 作业名称 */
    @Excel(name = "作业名称")
    private String hwName;

    /** 作业描述 */
    @Excel(name = "作业描述")
    private String hwDesc;

    /** 课程名 */
    @Excel(name = "课程名")
    private String hwCourse;

    /** 发布者 */
    @Excel(name = "发布者")
    private String hwTeacher;

    /** 作业内容 */
    @Excel(name = "作业内容")
    private String hwContent;

    /** 实际分数 */
    @Excel(name = "实际分数")
    private Long hwScore;

    public void setHwId(Long hwId) 
    {
        this.hwId = hwId;
    }

    public Long getHwId() 
    {
        return hwId;
    }
    public void setHwType(Long hwType) 
    {
        this.hwType = hwType;
    }

    public Long getHwType() 
    {
        return hwType;
    }
    public void setHwName(String hwName) 
    {
        this.hwName = hwName;
    }

    public String getHwName() 
    {
        return hwName;
    }
    public void setHwDesc(String hwDesc) 
    {
        this.hwDesc = hwDesc;
    }

    public String getHwDesc() 
    {
        return hwDesc;
    }
    public void setHwCourse(String hwCourse) 
    {
        this.hwCourse = hwCourse;
    }

    public String getHwCourse() 
    {
        return hwCourse;
    }
    public void setHwTeacher(String hwTeacher) 
    {
        this.hwTeacher = hwTeacher;
    }

    public String getHwTeacher() 
    {
        return hwTeacher;
    }
    public void setHwContent(String hwContent) 
    {
        this.hwContent = hwContent;
    }

    public String getHwContent() 
    {
        return hwContent;
    }
    public void setHwScore(Long hwScore) 
    {
        this.hwScore = hwScore;
    }

    public Long getHwScore() 
    {
        return hwScore;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("hwId", getHwId())
            .append("hwType", getHwType())
            .append("hwName", getHwName())
            .append("hwDesc", getHwDesc())
            .append("hwCourse", getHwCourse())
            .append("hwTeacher", getHwTeacher())
            .append("hwContent", getHwContent())
            .append("hwScore", getHwScore())
            .toString();
    }
}
